 package constants;

 import client.PlayerStats;
 import tools.Pair;









 public class JobConstants
 {
   public static boolean is战士(int job) {
/*   17 */     return (getTrueJobGrade(job) == 1);
   }

   public static boolean is英雄(int job) {
/*   21 */     return (job >= 110 && job <= 112);
   }

   public static boolean is古迹猎人(int job) {
/*   25 */     return (job == 301 || (job >= 330 && job <= 332));
   }

   public static boolean is神之子(int job) {
/*   29 */     return (job == 10000 || job == 10100 || job == 10110 || job == 10111 || job == 10112);
   }

   public static boolean is圣骑士(int job) {
/*   33 */     return (job / 10 == 12);
   }

   public static boolean is黑骑士(int job) {
/*   37 */     return (job / 10 == 13);
   }

   public static boolean is神射手(int job) {
/*   41 */     return (job / 10 == 31);
   }

   public static boolean is箭神(int job) {
/*   45 */     return (job / 10 == 32);
   }

   public static boolean is魔法师(int job) {
/*   49 */     return (job / 100 == 2);
   }

   public static boolean is隐士(int job) {
/*   53 */     return (job >= 410 && job <= 412);
   }

   public static boolean is侠盗(int job) {
/*   57 */     return (job / 10 == 42);
   }

   public static boolean is双刀(int job) {
/*   61 */     return (job / 10 == 43);
   }

   public static boolean is冲锋队长(int job) {
/*   65 */     return (job / 10 == 51);
   }

   public static boolean is船长(int job) {
/*   69 */     return (job / 10 == 52);
   }

   public static boolean is火炮手(int job) {
/*   73 */     return (job == 501 || (job >= 530 && job <= 532));
   }

   public static boolean is夜行者(int job) {
/*   77 */     return (job >= 1400 && job <= 1412);
   }

   public static boolean is冒险家(int job) {
/*   81 */     return (job >= 0 && job < 1000);
   }

   public static boolean is风灵使者(int job) {
/*   85 */     return (job >= 1300 && job <= 1312);
   }

   public static boolean noBulletJob(int job) {
/*   89 */     return (is机械师(job) || is火炮手(job) || is双弩精灵(job) || is龙的传人(job) || is米哈尔(job) || is狂龙战士(job) || is爆莉萌天使(job) || is尖兵(job));
   }

   public static boolean isNotMpJob(int job) {
/*   93 */     return (is恶魔猎手(job) || is恶魔复仇者(job) || is爆莉萌天使(job) || is神之子(job) || is超能力者(job));
   }

   public static boolean is夜光(int job) {
/*   97 */     return (job == 2004 || (job >= 2700 && job <= 2712));
   }

   public static boolean is反抗者(int job) {
/*  101 */     return (job == 3000 || (job >= 3200 && job <= 3712));
   }

   public static boolean is唤灵斗师(int job) {
/*  105 */     return (job == 3200 || (job >= 3210 && job <= 3212));
   }

   public static boolean is豹弩游侠(int job) {
/*  109 */     return (job == 3300 || (job >= 3310 && job <= 3312));
   }

   public static boolean is机械师(int job) {
/*  113 */     return (job == 3500 || (job >= 3510 && job <= 3512));
   }

   public static boolean is爆破手(int job) {
/*  117 */     return (job / 100 == 37);
   }

   public static boolean is恶魔猎手(int job) {
/*  121 */     return (job == 3001 || job == 3100 || job == 3110 || job == 3111 || job == 3112);
   }

   public static boolean is狂龙战士(int job) {
/*  125 */     return (job == 6000 || (job >= 6100 && job <= 6112));
   }

   public static boolean is品克缤(int job) {
/*  129 */     return (job == 13000 || job == 13100);
   }

   public static boolean is恶魔(int job) {
/*  133 */     return (is恶魔猎手(job) || is恶魔复仇者(job));
   }

   public static boolean is火枪手(int job) {
/*  137 */     return (job == 500 || (job >= 520 && job <= 522));
   }

   public static boolean is米哈尔(int job) {
/*  141 */     return (job == 5000 || (job >= 5100 && job <= 5112));
   }

   public static boolean is火枪手新(int job) {
/*  145 */     return (job == 509 || (job >= 590 && job <= 592));
   }

   public static boolean is爆莉萌天使(int job) {
/*  149 */     return (job == 6001 || (job >= 6500 && job <= 6512));
   }

   public static boolean is恶魔复仇者(int job) {
/*  153 */     return (job == 3101 || job == 3120 || job == 3121 || job == 3122);
   }

   public static boolean is龙神(int job) {
/*  157 */     return (job == 2001 || (job >= 2200 && job <= 2218));
   }

   public static boolean is新骑士团(int job) {
/*  161 */     return (job >= 1000 && job < 2000);
   }

   public static boolean is超能力者(int job) {
/*  165 */     return (job == 14000 || (job >= 14200 && job <= 14212));
   }

   public static boolean is阴阳师(int job) {
/*  169 */     return (job == 4002 || (job >= 4200 && job <= 4212));
   }

   public static boolean is战神(int job) {
/*  173 */     return (job == 2000 || (job >= 2100 && job <= 2112));
   }

   public static boolean isJobFamily(int baseJob, int currentJob) {
/*  177 */     return (currentJob >= baseJob && currentJob / 100 == baseJob / 100);
   }

   public static boolean is炎术士(int job) {
/*  181 */     return (job >= 1200 && job <= 1212);
   }

   public static boolean is拳手新(int job) {
/*  185 */     return (job == 509 || (job >= 580 && job <= 582));
   }

   public static boolean is双弩精灵(int job) {
/*  189 */     return (job == 2002 || (job >= 2300 && job <= 2312));
   }

   public static boolean is暗影双刀(int job) {
/*  193 */     return (job >= 430 && job <= 434);
   }

   public static boolean is奇袭者(int job) {
/*  197 */     return (job >= 1500 && job <= 1512);
   }

   public static boolean is骑士团(int job) {
/*  201 */     return (job >= 1000 && job < 2000);
   }

   public static boolean is尖兵(int job) {
/*  205 */     return (job == 3002 || (job >= 3600 && job <= 3612));
   }





   public static boolean is魂骑士(int job) {
/*  213 */     return (job >= 1100 && job <= 1112);
   }





   public static boolean is幻影(int job) {
/*  221 */     return (job == 2003 || (job >= 2400 && job <= 2412));
   }





   public static boolean is林之灵(int job) {
/*  229 */     return (job == 11000 || job == 11200 || job == 11210 || job == 11211 || job == 11212);
   }





   public static boolean is拳手(int job) {
/*  237 */     return (job == 500 || (job >= 510 && job <= 512));
   }





   public static boolean is龙的传人(int job) {
/*  245 */     return (job == 508 || (job >= 570 && job <= 572));
   }





   public static boolean is剑豪(int job) {
/*  253 */     return (job == 4001 || (job >= 4100 && job <= 4112));
   }





   public static boolean is隐月(int job) {
/*  261 */     return (job == 2005 || (job >= 2500 && job <= 2512));
   }

   public static boolean is火毒(int job) {
/*  265 */     return (job >= 210 && job <= 212);
   }

   public static boolean is主教(int job) {
/*  269 */     return (job >= 230 && job <= 232);
   }

   public static boolean is影魂异人(int job) {
/*  273 */     return (job == 15001 || (job >= 15500 && job <= 15512));
   }

   public static boolean is虎影(int job) {
/*  277 */     return (job == 16000 || (job >= 16400 && job <= 16412));
   }


   public static boolean is魔链隐士(int job) {
/*  282 */     return (job / 100 == 64 || job == 6002);
   }

   public static boolean is圣晶使徒(int job) {
/*  286 */     return (job == 15000 || (job >= 15200 && job <= 15212));
   }

   public static boolean is御剑骑士(int job) {
/*  290 */     return (job == 15002 || (job >= 15100 && job <= 15112));
   }





   public static int getTecahSkillID(int Job) {
/*  298 */     int skillId = -1;
/*  299 */     if (is火炮手(Job)) {
/*  300 */       skillId = 110;
/*  301 */     } else if (is龙的传人(Job)) {
/*  302 */       skillId = 1214;
/*  303 */     } else if (is双弩精灵(Job)) {
/*  304 */       skillId = 20021110;
/*  305 */     } else if (is幻影(Job)) {
/*  306 */       skillId = 20030204;
/*  307 */     } else if (is夜光(Job)) {
/*  308 */       skillId = 20040218;
/*  309 */     } else if (is恶魔猎手(Job)) {
/*  310 */       skillId = 30010112;
/*  311 */     } else if (is恶魔复仇者(Job)) {
/*  312 */       skillId = 30010241;
/*  313 */     } else if (is尖兵(Job)) {
/*  314 */       skillId = 30020233;
/*  315 */     } else if (is米哈尔(Job)) {
/*  316 */       skillId = 50001214;
/*  317 */     } else if (is狂龙战士(Job)) {
/*  318 */       skillId = 60000222;
/*  319 */     } else if (is爆莉萌天使(Job)) {
/*  320 */       skillId = 60011219;
/*  321 */     } else if (is林之灵(Job)) {
/*  322 */       skillId = 110000800;
/*  323 */     } else if (is神之子(Job)) {
/*  324 */       skillId = 100000271;
/*  325 */     } else if (is骑士团(Job)) {
/*  326 */       skillId = 10000255 + (int)Math.floor((Job % 1000 / 100));
/*  327 */     } else if (is超能力者(Job)) {
/*  328 */       skillId = 140000292;
     }
/*  330 */     return skillId;
   }




   public static Pair<Integer, Integer> getDefaultFaceAndHair(int job, int gender) {
/*  337 */     int face = (gender == 0) ? 20100 : 21700;
/*  338 */     int hair = (gender == 0) ? 30030 : 31002;
/*  339 */     if (is暗影双刀(job)) {
/*  340 */       face = (gender == 0) ? 20265 : 21261;
/*  341 */       hair = (gender == 0) ? 33830 : 34820;
/*  342 */     } else if (is龙的传人(job)) {
/*  343 */       face = (gender == 0) ? 20100 : 21700;
/*  344 */       hair = (gender == 0) ? 36120 : 34990;
/*  345 */     } else if (is双弩精灵(job)) {
/*  346 */       face = (gender == 0) ? 20549 : 21547;
/*  347 */       hair = (gender == 0) ? 33453 : 34423;
/*  348 */     } else if (is幻影(job)) {
/*  349 */       face = (gender == 0) ? 20659 : 21656;
/*  350 */       hair = (gender == 0) ? 33703 : 34703;
/*  351 */     } else if (is夜光(job)) {
/*  352 */       face = (gender == 0) ? 20174 : 21169;
/*  353 */       hair = (gender == 0) ? 36190 : 37070;
/*  354 */     } else if (is恶魔猎手(job)) {
/*  355 */       face = (gender == 0) ? 20248 : 21246;
/*  356 */       hair = (gender == 0) ? 33531 : 34411;
/*  357 */     } else if (is恶魔复仇者(job)) {
/*  358 */       face = (gender == 0) ? 20248 : 21280;
/*  359 */       hair = (gender == 0) ? 36460 : 37450;
/*  360 */     } else if (is尖兵(job)) {
/*  361 */       face = (gender == 0) ? 20185 : 21182;
/*  362 */       hair = (gender == 0) ? 36470 : 37490;
/*  363 */     } else if (is米哈尔(job)) {
/*  364 */       face = (gender == 0) ? 20169 : 21700;
/*  365 */       hair = (gender == 0) ? 36033 : 31002;
/*  366 */     } else if (is狂龙战士(job)) {
/*  367 */       face = (gender == 0) ? 20576 : 21571;
/*  368 */       hair = (gender == 0) ? 36245 : 37125;
/*  369 */     } else if (is爆莉萌天使(job)) {
/*  370 */       face = (gender == 0) ? 20576 : 21374;
/*  371 */       hair = (gender == 0) ? 36245 : 37242;
     }
/*  373 */     return new Pair(Integer.valueOf(face), Integer.valueOf(hair));
   }

   public static int getSkillBookBySkill(int skillId) {
/*  377 */     return getSkillBookByJob(skillId / 10000, skillId);
   }


   public static int getTrueJobGrade(int job) {
/*  382 */     int result = job % 1000 / 100;

/*  384 */     switch (job / 100) {
       case 27:
       case 140:
       case 142:
/*  388 */         result = 2;
         break;
       case 36:
/*  391 */         result = 4;
         break;
       case 37:
/*  394 */         result = 1;
         break;
     }

/*  398 */     return result;
   }

   public static int getJobNumber(int jobz) {
/*  402 */     int job = jobz % 1000;
/*  403 */     if (job / 100 == 0 || is新手职业(jobz))
/*  404 */       return 0; 
/*  405 */     if (job / 10 % 10 == 0 || job == 501) {
/*  406 */       return 1;
     }
/*  408 */     return 2 + job % 10;
   }


   public static boolean isSeparatedSpJobEx(int job) {
/*  413 */     if (is林之灵(job))
/*  414 */       return false; 
/*  415 */     if (job == 0 || job == 100 || job == 200 || job == 300 || job == 400 || job == 500 || job == 501)
     {
/*  417 */       return true; } 
/*  418 */     if (job >= 110 && job <= 132)
     {
/*  420 */       return true; } 
/*  421 */     if (job >= 210 && job <= 232)
     {
/*  423 */       return true; } 
/*  424 */     if (job >= 310 && job <= 322)
     {
/*  426 */       return true; } 
/*  427 */     if (job >= 410 && job <= 434)
     {
/*  429 */       return true; } 
/*  430 */     if (job >= 510 && job <= 532)
     {
/*  432 */       return true; } 
/*  433 */     if (job == 1000)
     {
/*  435 */       return true; } 
/*  436 */     if (job >= 1100 && job <= 1112)
     {
/*  438 */       return true; } 
/*  439 */     if (job >= 1200 && job <= 1212)
     {
/*  441 */       return true; } 
/*  442 */     if (job >= 1300 && job <= 1312)
     {
/*  444 */       return true; } 
/*  445 */     if (job >= 1400 && job <= 1412)
     {
/*  447 */       return true; } 
/*  448 */     if (job >= 1500 && job <= 1512)
     {
/*  450 */       return true; } 
/*  451 */     if (job == 2001 || (job >= 2200 && job <= 2218))
     {
/*  453 */       return true; } 
/*  454 */     if (job == 2002 || (job >= 2300 && job <= 2312))
     {
/*  456 */       return true; } 
/*  457 */     if (job == 2003 || (job >= 2400 && job <= 2412))
     {
/*  459 */       return true; } 
/*  460 */     if (job == 2005 || (job >= 2500 && job <= 2512))
     {
/*  462 */       return true; } 
/*  463 */     if (job == 2004 || (job >= 2700 && job <= 2712))
     {
/*  465 */       return true; } 
/*  466 */     if (job >= 3000)
     {
/*  468 */       return true;
     }
/*  470 */     return false;
   }

   public static int getSkillBookByLevel(int job, int level) {
/*  474 */     if (job >= 430 && job <= 434) {
/*  475 */       return (level <= 20) ? 0 : ((level > 20 && level <= 30) ? 1 : ((level > 30 && level <= 55) ? 2 : ((level > 55 && level <= 70) ? 3 : ((level > 70 && level <= 100) ? 4 : ((level > 100) ? 5 : 0)))));
     }
/*  477 */     if (isSeparatedSpJob(job)) {
/*  478 */       return (level <= 30) ? 0 : ((level > 30 && level <= 60) ? 1 : ((level > 60 && level <= 100) ? 2 : ((level > 100) ? 3 : 0)));
     }

/*  481 */     return 0;
   }

   public static boolean isSeparatedSpJob(int job) {
/*  485 */     return (!is林之灵(job) && !is管理员(job) && !is暗影双刀(job) && !is品克缤(job));
   }

   public static boolean is管理员(int job) {
/*  489 */     return (job == 800 || job == 900 || job == 910);
   }

   public static boolean is新手职业(int job) {
/*  493 */     switch (job) {
       case 0:
       case 1000:
       case 2000:
       case 2001:
       case 2002:
       case 2003:
       case 2004:
       case 2005:
       case 3000:
       case 3001:
       case 3002:
       case 4001:
       case 4002:
       case 5000:
       case 6000:
       case 6001:
       case 6002:
       case 10000:
       case 11000:
       case 13000:
       case 14000:
       case 15000:
       case 15001:
       case 15002:
       case 16000:
/*  519 */         return true;
     }
/*  521 */     return false;
   }

   public static int getSkillBookByJob(int job) {
/*  525 */     return getSkillBookByJob(job, 0);
   }

   public static int getSkillBookByJob(int job, int skillId) {
/*  529 */     if (job >= 430 && job <= 434) {
/*  530 */       return job - 429;
     }
/*  532 */     if (is神之子(job)) {
/*  533 */       if (skillId > 0) {
/*  534 */         int type = skillId % 1000 / 100;
/*  535 */         return (type == 1) ? 1 : 0;
       }
/*  537 */       return 0;
     }

/*  540 */     switch (job) {
       case 110:
       case 120:
       case 130:
       case 210:
       case 220:
       case 230:
       case 310:
       case 320:
       case 330:
       case 410:
       case 420:
       case 510:
       case 520:
       case 530:
       case 570:
       case 1110:
       case 1210:
       case 1310:
       case 1410:
       case 1510:
       case 2110:
       case 2211:
       case 2310:
       case 2410:
       case 2510:
       case 2710:
       case 3110:
       case 3120:
       case 3210:
       case 3310:
       case 3510:
       case 3610:
       case 3710:
       case 4110:
       case 4210:
       case 5110:
       case 6110:
       case 6410:
       case 6510:
       case 13100:
       case 14210:
       case 15110:
       case 15210:
       case 15510:
       case 16410:
/*  586 */         return 1;
       case 111:
       case 121:
       case 131:
       case 211:
       case 221:
       case 231:
       case 311:
       case 321:
       case 331:
       case 411:
       case 421:
       case 511:
       case 521:
       case 531:
       case 571:
       case 1111:
       case 1211:
       case 1311:
       case 1411:
       case 1511:
       case 2111:
       case 2214:
       case 2311:
       case 2411:
       case 2511:
       case 2711:
       case 3111:
       case 3121:
       case 3211:
       case 3311:
       case 3511:
       case 3611:
       case 3711:
       case 4111:
       case 4211:
       case 5111:
       case 6111:
       case 6411:
       case 6511:
       case 14211:
       case 15111:
       case 15211:
       case 15511:
       case 16411:
/*  631 */         return 2;
       case 112:
       case 122:
       case 132:
       case 212:
       case 222:
       case 232:
       case 312:
       case 322:
       case 332:
       case 412:
       case 422:
       case 512:
       case 522:
       case 532:
       case 572:
       case 1112:
       case 1212:
       case 1312:
       case 1412:
       case 1512:
       case 2112:
       case 2217:
       case 2312:
       case 2412:
       case 2512:
       case 2712:
       case 3112:
       case 3122:
       case 3212:
       case 3312:
       case 3512:
       case 3612:
       case 3712:
       case 4112:
       case 4212:
       case 5112:
       case 6112:
       case 6412:
       case 6512:
       case 14212:
       case 15112:
       case 15212:
       case 15512:
       case 16412:
/*  676 */         return 3;
     }
/*  678 */     return 0;
   }

   public static int getBOF_ForJob(int job) {
/*  682 */     return PlayerStats.getSkillByJob(12, job);
   }

   public static int getEmpress_ForJob(int job) {
/*  686 */     return PlayerStats.getSkillByJob(73, job);
   }


   public static String getJobNameById(int job) {
/*  691 */     switch (job) {
       case 0:
       case 1:
/*  694 */         return "新手";
       case 1000:
/*  696 */         return "初心者";
       case 2000:
/*  698 */         return "战童";
       case 2001:
/*  700 */         return "小不点";
       case 3000:
/*  702 */         return "预备兵";
       case 2005:
       case 2500:
       case 2510:
       case 2511:
       case 2512:
/*  708 */         return "隐月";

       case 100:
/*  711 */         return "战士";
       case 110:
/*  713 */         return "剑客";
       case 111:
/*  715 */         return "勇士";
       case 112:
/*  717 */         return "英雄";
       case 120:
/*  719 */         return "准骑士";
       case 121:
/*  721 */         return "骑士";
       case 122:
/*  723 */         return "圣骑士";
       case 130:
/*  725 */         return "枪战士";
       case 131:
/*  727 */         return "龙骑士";
       case 132:
/*  729 */         return "黑骑士";

       case 200:
/*  732 */         return "魔法师";
       case 210:
/*  734 */         return "火毒法师";
       case 211:
/*  736 */         return "火毒巫师";
       case 212:
/*  738 */         return "火毒魔导师";
       case 220:
/*  740 */         return "冰雷法师";
       case 221:
/*  742 */         return "冰雷巫师";
       case 222:
/*  744 */         return "冰雷魔导师";
       case 230:
/*  746 */         return "牧师";
       case 231:
/*  748 */         return "祭祀";
       case 232:
/*  750 */         return "主教";

       case 300:
/*  753 */         return "弓箭手";
       case 310:
/*  755 */         return "猎人";
       case 311:
/*  757 */         return "射手";
       case 312:
/*  759 */         return "神射手";
       case 320:
/*  761 */         return "弩弓手";
       case 321:
/*  763 */         return "游侠";
       case 322:
/*  765 */         return "箭神";

       case 400:
/*  768 */         return "飞侠";
       case 410:
/*  770 */         return "刺客";
       case 411:
/*  772 */         return "无影人";
       case 412:
/*  774 */         return "隐士";
       case 420:
/*  776 */         return "侠客";
       case 421:
/*  778 */         return "独行客";
       case 422:
/*  780 */         return "侠盗";
       case 430:
/*  782 */         return "见习刀客";
       case 431:
/*  784 */         return "双刀客";
       case 432:
/*  786 */         return "双刀侠";
       case 433:
/*  788 */         return "血刀";
       case 434:
/*  790 */         return "暗影双刀";
       case 500:
/*  792 */         return "海盗";
       case 510:
/*  794 */         return "拳手";
       case 511:
/*  796 */         return "斗士";
       case 512:
/*  798 */         return "冲锋队长";
       case 520:
/*  800 */         return "火枪手";
       case 521:
/*  802 */         return "大副";
       case 522:
/*  804 */         return "船长";
       case 501:
/*  806 */         return "海盗炮手";
       case 530:
/*  808 */         return "火炮手";
       case 531:
/*  810 */         return "毁灭炮手";
       case 532:
/*  812 */         return "神炮王";
       case 508:
       case 570:
       case 571:
       case 572:
/*  817 */         return "龙的传人";
       case 1100:
       case 1110:
       case 1111:
       case 1112:
/*  822 */         return "魂骑士";
       case 1200:
       case 1210:
       case 1211:
       case 1212:
/*  827 */         return "炎术士";
       case 1300:
       case 1310:
       case 1311:
       case 1312:
/*  832 */         return "风灵使者";
       case 1400:
       case 1410:
       case 1411:
       case 1412:
/*  837 */         return "夜行者";
       case 1500:
       case 1510:
       case 1511:
       case 1512:
/*  842 */         return "奇袭者";
       case 2100:
       case 2110:
       case 2111:
       case 2112:
/*  847 */         return "战神";
       case 2200:
       case 2211:
       case 2214:
       case 2217:
/*  852 */         return "龙神";
       case 2002:
       case 2300:
       case 2310:
       case 2311:
       case 2312:
/*  858 */         return "双弩精灵";
       case 2003:
       case 2400:
       case 2410:
       case 2411:
       case 2412:
/*  864 */         return "幻影";
       case 2004:
       case 2700:
       case 2710:
       case 2711:
       case 2712:
/*  870 */         return "夜光法师";
       case 3001:
       case 3100:
       case 3110:
       case 3111:
       case 3112:
/*  876 */         return "恶魔猎手";
       case 3101:
       case 3120:
       case 3121:
       case 3122:
/*  881 */         return "恶魔复仇者";
       case 3200:
       case 3210:
       case 3211:
       case 3212:
/*  886 */         return "幻灵斗师";
       case 3300:
       case 3310:
       case 3311:
       case 3312:
/*  891 */         return "弩豹游侠";
       case 3500:
       case 3510:
       case 3511:
       case 3512:
/*  896 */         return "机械师";
       case 3700:
       case 3710:
       case 3711:
       case 3712:
/*  901 */         return "爆破手";
       case 5000:
/*  903 */         return "无名少年";
       case 5100:
       case 5110:
       case 5111:
       case 5112:
/*  908 */         return "米哈尔";
       case 6000:
       case 6100:
       case 6110:
       case 6111:
       case 6112:
/*  914 */         return "狂龙战士";
       case 6001:
       case 6500:
       case 6510:
       case 6511:
       case 6512:
/*  920 */         return "爆莉萌天使";
       case 3002:
       case 3600:
       case 3610:
       case 3611:
       case 3612:
/*  926 */         return "尖兵";
       case 10000:
       case 10100:
       case 10110:
       case 10111:
       case 10112:
/*  932 */         return "神之子";
       case 11000:
       case 11200:
       case 11210:
       case 11211:
       case 11212:
/*  938 */         return "林之灵";
       case 4001:
       case 4100:
       case 4110:
       case 4111:
       case 4112:
/*  944 */         return "剑豪";
       case 4002:
       case 4200:
       case 4210:
       case 4211:
       case 4212:
/*  950 */         return "阴阳师";
       case 15001:
       case 15500:
       case 15510:
       case 15511:
       case 15512:
/*  956 */         return "影魂异人";
       case 15002:
       case 15100:
       case 15110:
       case 15111:
       case 15112:
/*  962 */         return "御剑骑士";
       case 16000:
       case 16400:
       case 16410:
       case 16411:
       case 16412:
/*  968 */         return "虎影";
       case 900:
/*  970 */         return "管理员";
       case 910:
/*  972 */         return "超级管理员";
       case 800:
/*  974 */         return "管理者";
     }
/*  976 */     return "";
   }


   public static String getJobBasicNameById(int job) {
/*  981 */     switch (job) {
       case 0:
       case 1:
       case 1000:
       case 2000:
       case 2001:
       case 2002:
       case 2003:
       case 2004:
       case 3000:
       case 3001:
       case 3002:
       case 5000:
       case 6000:
       case 6001:
       case 10000:
       case 11000:
       case 15002:
/*  999 */         return "新手";
       case 100:
       case 110:
       case 111:
       case 112:
       case 120:
       case 121:
       case 122:
       case 130:
       case 131:
       case 132:
       case 1100:
       case 1110:
       case 1111:
       case 1112:
       case 2100:
       case 2110:
       case 2111:
       case 2112:
       case 3100:
       case 3101:
       case 3110:
       case 3111:
       case 3112:
       case 3120:
       case 3121:
       case 3122:
       case 3600:
       case 3610:
       case 3611:
       case 3612:
       case 3700:
       case 3710:
       case 3711:
       case 3712:
       case 5100:
       case 5110:
       case 5111:
       case 5112:
       case 6100:
       case 6110:
       case 6111:
       case 6112:
       case 10100:
       case 10110:
       case 10111:
       case 10112:
       case 15100:
       case 15110:
       case 15111:
       case 15112:
/* 1050 */         return "战士";
       case 200:
       case 210:
       case 211:
       case 212:
       case 220:
       case 221:
       case 222:
       case 230:
       case 231:
       case 232:
       case 1200:
       case 1210:
       case 1211:
       case 1212:
       case 2200:
       case 2211:
       case 2214:
       case 2217:
       case 2700:
       case 2710:
       case 2711:
       case 2712:
       case 3200:
       case 3210:
       case 3211:
       case 3212:
       case 11200:
       case 11210:
       case 11211:
       case 11212:
/* 1081 */         return "魔法师";
       case 300:
       case 310:
       case 311:
       case 312:
       case 320:
       case 321:
       case 322:
       case 1300:
       case 1310:
       case 1311:
       case 1312:
       case 2300:
       case 2310:
       case 2311:
       case 2312:
       case 3300:
       case 3310:
       case 3311:
       case 3312:
/* 1101 */         return "射手";
       case 400:
       case 410:
       case 411:
       case 412:
       case 420:
       case 421:
       case 422:
       case 430:
       case 431:
       case 432:
       case 433:
       case 434:
       case 1400:
       case 1410:
       case 1411:
       case 1412:
/* 1118 */         return "飞侠";
       case 500:
       case 501:
       case 508:
       case 509:
       case 510:
       case 511:
       case 512:
       case 520:
       case 521:
       case 522:
       case 530:
       case 531:
       case 532:
       case 570:
       case 571:
       case 572:
       case 580:
       case 581:
       case 582:
       case 590:
       case 591:
       case 592:
       case 1500:
       case 1510:
       case 1511:
       case 1512:
       case 3500:
       case 3510:
       case 3511:
       case 3512:
       case 6500:
       case 6510:
       case 6511:
       case 6512:
/* 1153 */         return "海盗";
     }
/* 1155 */     return "";
   }


   public static String getJobNameByIdNull(int job) {
/* 1160 */     switch (job) {
       case 0:
       case 1:
/* 1163 */         return "新手";
       case 1000:
/* 1165 */         return "初心者";
       case 2000:
/* 1167 */         return "战童";
       case 2001:
/* 1169 */         return "小不点";
       case 3000:
/* 1171 */         return "预备兵";
       case 4001:
/* 1173 */         return "剑豪";
       case 4002:
/* 1175 */         return "阴阳师";

       case 100:
/* 1178 */         return "战士";
       case 110:
/* 1180 */         return "剑客";
       case 111:
/* 1182 */         return "勇士";
       case 112:
/* 1184 */         return "英雄";
       case 120:
/* 1186 */         return "准骑士";
       case 121:
/* 1188 */         return "骑士";
       case 122:
/* 1190 */         return "圣骑士";
       case 130:
/* 1192 */         return "枪战士";
       case 131:
/* 1194 */         return "龙骑士";
       case 132:
/* 1196 */         return "黑骑士";

       case 200:
/* 1199 */         return "魔法师";
       case 210:
/* 1201 */         return "火毒法师";
       case 211:
/* 1203 */         return "火毒巫师";
       case 212:
/* 1205 */         return "火毒魔导师";
       case 220:
/* 1207 */         return "冰雷法师";
       case 221:
/* 1209 */         return "冰雷巫师";
       case 222:
/* 1211 */         return "冰雷魔导师";
       case 230:
/* 1213 */         return "牧师";
       case 231:
/* 1215 */         return "祭祀";
       case 232:
/* 1217 */         return "主教";

       case 300:
/* 1220 */         return "弓箭手";
       case 310:
/* 1222 */         return "猎人";
       case 311:
/* 1224 */         return "射手";
       case 312:
/* 1226 */         return "神射手";
       case 320:
/* 1228 */         return "弩弓手";
       case 321:
/* 1230 */         return "游侠";
       case 322:
/* 1232 */         return "箭神";

       case 400:
/* 1235 */         return "飞侠";
       case 410:
/* 1237 */         return "刺客";
       case 411:
/* 1239 */         return "无影人";
       case 412:
/* 1241 */         return "隐士";
       case 420:
/* 1243 */         return "侠客";
       case 421:
/* 1245 */         return "独行客";
       case 422:
/* 1247 */         return "侠盗";
       case 430:
/* 1249 */         return "见习刀客";
       case 431:
/* 1251 */         return "双刀客";
       case 432:
/* 1253 */         return "双刀侠";
       case 433:
/* 1255 */         return "血刀";
       case 434:
/* 1257 */         return "暗影双刀";
       case 500:
/* 1259 */         return "海盗";
       case 510:
/* 1261 */         return "拳手";
       case 511:
/* 1263 */         return "斗士";
       case 512:
/* 1265 */         return "冲锋队长";
       case 520:
/* 1267 */         return "火枪手";
       case 521:
/* 1269 */         return "大副";
       case 522:
/* 1271 */         return "船长";
       case 501:
/* 1273 */         return "海盗炮手";
       case 530:
/* 1275 */         return "火炮手";
       case 531:
/* 1277 */         return "毁灭炮手";
       case 532:
/* 1279 */         return "神炮王";
       case 508:
/* 1281 */         return "龙的传人(1转)";
       case 570:
/* 1283 */         return "龙的传人(2转)";
       case 571:
/* 1285 */         return "龙的传人(3转)";
       case 572:
/* 1287 */         return "龙的传人(4转)";

       case 1100:
/* 1290 */         return "魂骑士(1转)";
       case 1110:
/* 1292 */         return "魂骑士(2转)";
       case 1111:
/* 1294 */         return "魂骑士(3转)";
       case 1112:
/* 1296 */         return "魂骑士(4转)";
       case 1200:
/* 1298 */         return "炎术士(1转)";
       case 1210:
/* 1300 */         return "炎术士(2转)";
       case 1211:
/* 1302 */         return "炎术士(3转)";
       case 1212:
/* 1304 */         return "炎术士(4转)";

       case 1300:
/* 1307 */         return "风灵使者(1转)";
       case 1310:
/* 1309 */         return "风灵使者(2转)";
       case 1311:
/* 1311 */         return "风灵使者(3转)";
       case 1312:
/* 1313 */         return "风灵使者(4转)";

       case 1400:
/* 1316 */         return "夜行者(1转)";
       case 1410:
/* 1318 */         return "夜行者(2转)";
       case 1411:
/* 1320 */         return "夜行者(3转)";
       case 1412:
/* 1322 */         return "夜行者(4转)";

       case 1500:
/* 1325 */         return "奇袭者(1转)";
       case 1510:
/* 1327 */         return "奇袭者(2转)";
       case 1511:
/* 1329 */         return "奇袭者(3转)";
       case 1512:
/* 1331 */         return "奇袭者(4转)";

       case 2100:
/* 1334 */         return "战神(1转)";
       case 2110:
/* 1336 */         return "战神(2转)";
       case 2111:
/* 1338 */         return "战神(3转)";
       case 2112:
/* 1340 */         return "战神(4转)";

       case 2200:
/* 1343 */         return "龙神(1转)";
       case 2211:
/* 1345 */         return "龙神(2转)";
       case 2214:
/* 1347 */         return "龙神(3转)";
       case 2217:
/* 1349 */         return "龙神(4转)";

       case 2002:
/* 1352 */         return "双弩精灵";
       case 2300:
/* 1354 */         return "双弩精灵(1转)";
       case 2310:
/* 1356 */         return "双弩精灵(2转)";
       case 2311:
/* 1358 */         return "双弩精灵(3转)";
       case 2312:
/* 1360 */         return "双弩精灵(4转)";

       case 2003:
/* 1363 */         return "幻影侠盗";
       case 2400:
/* 1365 */         return "幻影侠盗(1转)";
       case 2410:
/* 1367 */         return "幻影侠盗(2转)";
       case 2411:
/* 1369 */         return "幻影侠盗(3转)";
       case 2412:
/* 1371 */         return "幻影侠盗(4转)";

       case 2004:
/* 1374 */         return "夜光法师";
       case 2700:
/* 1376 */         return "夜光法师(1转)";
       case 2710:
/* 1378 */         return "夜光法师(2转)";
       case 2711:
/* 1380 */         return "夜光法师(3转)";
       case 2712:
/* 1382 */         return "夜光法师(4转)";

       case 3001:
/* 1385 */         return "恶魔猎手";
       case 3100:
/* 1387 */         return "恶魔猎手(1转)";
       case 3110:
/* 1389 */         return "恶魔猎手(2转)";
       case 3111:
/* 1391 */         return "恶魔猎手(3转)";
       case 3112:
/* 1393 */         return "恶魔猎手(4转)";

       case 3101:
/* 1396 */         return "恶魔复仇者(1转)";
       case 3120:
/* 1398 */         return "恶魔复仇者(2转)";
       case 3121:
/* 1400 */         return "恶魔复仇者(3转)";
       case 3122:
/* 1402 */         return "恶魔复仇者(4转)";

       case 3200:
/* 1405 */         return "幻灵斗师(1转)";
       case 3210:
/* 1407 */         return "幻灵斗师(2转)";
       case 3211:
/* 1409 */         return "幻灵斗师(3转)";
       case 3212:
/* 1411 */         return "幻灵斗师(4转)";

       case 3300:
/* 1414 */         return "弩豹游侠(1转)";
       case 3310:
/* 1416 */         return "弩豹游侠(2转)";
       case 3311:
/* 1418 */         return "弩豹游侠(3转)";
       case 3312:
/* 1420 */         return "弩豹游侠(4转)";

       case 3500:
/* 1423 */         return "机械师(1转)";
       case 3510:
/* 1425 */         return "机械师(2转)";
       case 3511:
/* 1427 */         return "机械师(3转)";
       case 3512:
/* 1429 */         return "机械师(4转)";

       case 3700:
/* 1432 */         return "爆破手(1转)";
       case 3710:
/* 1434 */         return "爆破手(2转)";
       case 3711:
/* 1436 */         return "爆破手(3转)";
       case 3712:
/* 1438 */         return "爆破手(4转)";

       case 3002:
/* 1441 */         return "尖兵(新手)";
       case 3600:
/* 1443 */         return "尖兵(1转)";
       case 3610:
/* 1445 */         return "尖兵(2转)";
       case 3611:
/* 1447 */         return "尖兵(3转)";
       case 3612:
/* 1449 */         return "尖兵(4转)";

       case 5000:
/* 1452 */         return "无名少年";
       case 5100:
/* 1454 */         return "米哈尔(1转)";
       case 5110:
/* 1456 */         return "米哈尔(2转)";
       case 5111:
/* 1458 */         return "米哈尔(3转)";
       case 5112:
/* 1460 */         return "米哈尔(4转)";

       case 6000:
/* 1463 */         return "狂龙战士";
       case 6100:
/* 1465 */         return "狂龙战士(1转)";
       case 6110:
/* 1467 */         return "狂龙战士(2转)";
       case 6111:
/* 1469 */         return "狂龙战士(3转)";
       case 6112:
/* 1471 */         return "狂龙战士(4转)";

       case 6001:
/* 1474 */         return "爆莉萌天使";
       case 6500:
/* 1476 */         return "爆莉萌天使(1转)";
       case 6510:
/* 1478 */         return "爆莉萌天使(2转)";
       case 6511:
/* 1480 */         return "爆莉萌天使(3转)";
       case 6512:
/* 1482 */         return "爆莉萌天使(4转)";

       case 10000:
/* 1485 */         return "神之子";
       case 10100:
/* 1487 */         return "神之子(1转)";
       case 10110:
/* 1489 */         return "神之子(2转)";
       case 10111:
/* 1491 */         return "神之子(3转)";
       case 10112:
/* 1493 */         return "神之子(4转)";

       case 11000:
/* 1496 */         return "林之灵";
       case 11200:
/* 1498 */         return "林之灵(1转)";
       case 11210:
/* 1500 */         return "林之灵(2转)";
       case 11211:
/* 1502 */         return "林之灵(3转)";
       case 11212:
/* 1504 */         return "林之灵(4转)";
       case 4100:
/* 1506 */         return "剑豪(1转)";
       case 4110:
/* 1508 */         return "剑豪(2转)";
       case 4111:
/* 1510 */         return "剑豪(3转)";
       case 4112:
/* 1512 */         return "剑豪(4转)";
       case 4200:
/* 1514 */         return "阴阳师(1转)";
       case 4210:
/* 1516 */         return "阴阳师(2转)";
       case 4211:
/* 1518 */         return "阴阳师(3转)";
       case 4212:
/* 1520 */         return "阴阳师(4转)";
       case 15100:
/* 1522 */         return "御剑骑士(1转)";
       case 15110:
/* 1524 */         return "御剑骑士(2转)";
       case 15111:
/* 1526 */         return "御剑骑士(3转)";
       case 15112:
/* 1528 */         return "御剑骑士(4转)";
       case 900:
/* 1530 */         return "管理员";
       case 910:
/* 1532 */         return "超级管理员";
       case 800:
/* 1534 */         return "管理者";
     }
/* 1536 */     return null;
   }


   public static String getJobGroupName(int job) {
/* 1541 */     if (is反抗者(job))
/* 1542 */       return "反抗者"; 
/* 1543 */     if (is冒险家(job))
/* 1544 */       return "冒险家"; 
/* 1545 */     if (is骑士团(job))
/* 1546 */       return "骑士团"; 
/* 1547 */     if (is战神(job))
/* 1548 */       return "战神"; 
/* 1549 */     if (is龙神(job))
/* 1550 */       return "龙神"; 
/* 1551 */     if (is双弩精灵(job))
/* 1552 */       return "双弩精灵"; 
/* 1553 */     if (is恶魔(job))
/* 1554 */       return "恶魔"; 
/* 1555 */     if (is幻影(job))
/* 1556 */       return "幻影"; 
/* 1557 */     if (is暗影双刀(job))
/* 1558 */       return "暗影双刀"; 
/* 1559 */     if (is米哈尔(job))
/* 1560 */       return "米哈尔"; 
/* 1561 */     if (is夜光(job))
/* 1562 */       return "夜光法师"; 
/* 1563 */     if (is狂龙战士(job))
/* 1564 */       return "狂龙战士"; 
/* 1565 */     if (is爆莉萌天使(job))
/* 1566 */       return "爆莉萌天使"; 
/* 1567 */     if (is火炮手(job))
/* 1568 */       return "火炮手"; 
/* 1569 */     if (is尖兵(job))
/* 1570 */       return "尖兵"; 
/* 1571 */     if (is神之子(job))
/* 1572 */       return "神之子"; 
/* 1573 */     if (is隐月(job))
/* 1574 */       return "隐月"; 
/* 1575 */     if (is品克缤(job))
/* 1576 */       return "品克缤"; 
/* 1577 */     if (is超能力者(job))
/* 1578 */       return "超能力者"; 
/* 1579 */     if (is虎影(job))
/* 1580 */       return "虎影"; 
/* 1581 */     if (is林之灵(job))
/* 1582 */       return "林之灵"; 
/* 1583 */     if (is龙的传人(job))
/* 1584 */       return "龙的传人"; 
/* 1585 */     if (is剑豪(job))
/* 1586 */       return "剑豪"; 
/* 1587 */     if (is阴阳师(job))
/* 1588 */       return "阴阳师"; 
/* 1589 */     if (is影魂异人(job))
/* 1590 */       return "影魂异人"; 
/* 1591 */     if (is魔链隐士(job))
/* 1592 */       return "魔链隐士"; 
/* 1593 */     if (is御剑骑士(job)) {
/* 1594 */       return "御剑骑士";
     }
/* 1596 */     return "";
   }

   public static boolean canUseFamiliar(int job) {
/* 1600 */     if (is米哈尔(job)) {
/* 1601 */       return true;
     }
/* 1603 */     if (is骑士团(job)) {
/* 1604 */       return true;
     }
/* 1606 */     if (is尖兵(job)) {
/* 1607 */       return true;
     }
/* 1609 */     if (is夜光(job)) {
/* 1610 */       return true;
     }
/* 1612 */     if (is隐月(job)) {
/* 1613 */       return true;
     }
/* 1615 */     if (is御剑骑士(job)) {
/* 1616 */       return true;
     }
/* 1618 */     if (is反抗者(job)) {
/* 1619 */       if (job >= 3200 && job <= 3212) {
/* 1620 */         return true;
       }
/* 1622 */       return (getJobBranch(job) != 2 && getJobBranch(job) != 4);
     }
/* 1624 */     if (is战神(job)) {
/* 1625 */       return true;
     }
/* 1627 */     if (is龙的传人(job)) {
/* 1628 */       return true;
     }
/* 1630 */     if (is林之灵(job)) {
/* 1631 */       return false;
     }
/* 1633 */     if (is管理员(job)) {
/* 1634 */       return false;
     }
/* 1636 */     return !is品克缤(job);
   }


   public static short getBeginner(short jobid) {
/* 1641 */     if (jobid % 1000 < 10) {
/* 1642 */       return jobid;
     }
/* 1644 */     switch (jobid / 100) {
       case 0:
       case 1:
       case 2:
       case 3:
       case 4:
       case 5:
/* 1651 */         return 0;

       case 8:
/* 1654 */         return 800;

       case 9:
/* 1657 */         return 900;

       case 10:
       case 11:
       case 12:
       case 13:
       case 14:
       case 15:
/* 1665 */         return 1000;

       case 20:
       case 21:
/* 1669 */         return 2000;

       case 22:
/* 1672 */         return 2001;

       case 23:
/* 1675 */         return 2002;

       case 24:
/* 1678 */         return 2003;

       case 25:
/* 1681 */         return 2005;

       case 27:
/* 1684 */         return 2004;

       case 31:
/* 1687 */         return 3001;

       case 36:
/* 1690 */         return 3002;

       case 30:
       case 32:
       case 33:
       case 35:
       case 37:
/* 1697 */         return 3000;

       case 40:
       case 41:
/* 1701 */         return 4001;

       case 42:
/* 1704 */         return 4002;

       case 50:
       case 51:
/* 1708 */         return 5000;

       case 60:
       case 61:
/* 1712 */         return 6000;

       case 65:
/* 1715 */         return 6001;

       case 100:
       case 101:
/* 1719 */         return 10000;

       case 110:
       case 112:
/* 1723 */         return 11000;

       case 130:
       case 131:
/* 1727 */         return 13000;

       case 140:
       case 142:
/* 1731 */         return 14000;

       case 151:
/* 1734 */         return 15002;

       case 160:
/* 1737 */         return 16000;
     }

/* 1740 */     return 1000;
   }

   public static int getJobBranch(int job) {
/* 1744 */     int result = job % 1000 / 100;

/* 1746 */     switch (job / 100) {
       case 27:
       case 140:
       case 142:
/* 1750 */         result = 2;
         break;
       case 36:
/* 1753 */         result = 4;
         break;
       case 37:
/* 1756 */         result = 1;
         break;
     }

/* 1760 */     return result;
   }
 }


/* Location:              C:\PGX\Server.jar!\constants\JobConstants.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */